package org.zachary.commonservice.strategy.impl;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.zachary.commonmodule.entity.MqTransmissionJson;
import org.zachary.commonservice.entity.ServiceType;
import org.zachary.commonservice.strategy.CreditStrategy;

@Slf4j
@Component
public class BasicInfoStrategy implements CreditStrategy {
    @Override
    public ServiceType getServiceType() {
        return ServiceType.BasicInfo;
    }
    @Override
    public int calculate(MqTransmissionJson message, int currentScore) {
        return currentScore;
    }
}
